package com.mall.mapper;

import com.mall.bean.SystemRole;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @PageName com.mall.mapper
 * @Description 角色管理mapper
 * @Author 何全裕
 * @Create 2017-09-03 20:02
 * @Version 1.0
 **/
@Repository
public interface SystemRoleMapper {
    List<SystemRole> getSystemRoleList();

    void insertRole(SystemRole role);

    void deleteAllRole(@Param("ids")String[] ids);

    void deleteRole(String id);

    SystemRole getSystemRoleById(String id);

    void updateSystemRole(SystemRole role);
}
